'use strict';

/**
 * @ngdoc overview
 * @name interviewDemoApp
 * @description
 * # interviewDemoApp
 *
 * Main module of the application.
 */
angular
  .module('interviewDemoApp', [
    'ngAnimate',
    'ngCookies',
    'ngMessages',
    'ngResource',
    'ui.router',
    'ui.bootstrap'
  ])
  .config(function ($stateProvider, $urlRouterProvider) {
    $urlRouterProvider.otherwise('/')


    $stateProvider
      .state('/', {
        url: '/',
        templateUrl: 'views/main.html',
        controller: 'MainCtrl'
      })
      .state('about', {
        url: '/about',
        templateUrl: 'views/about.html',
        controller: 'AboutCtrl'
      })
      .state('login', {
        url: '/login',
        templateUrl: 'views/login.html',
        controller: 'LoginCtrl'
      })
      .state('resrume', {
        url: '/resrume',
        templateUrl: 'views/resume.html',
        controller: 'ResumeCtrl'
      })

  });
